package com.kzd.sdk.ui.adapter.holder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.kzd.sdk.utils.AppUtils;

public class GameCouponHolder extends RecyclerView.ViewHolder {

    public final ImageView ivGameCouponStatusBg;
    public final TextView tvGameCouponPrice, tvGameCouponPriceFull, tvGameCouponName, tvGameCouponDesc, tvGameCouponTime, tvGameCouponDraw;

    public GameCouponHolder(@NonNull View itemView) {
        super(itemView);
        ivGameCouponStatusBg = itemView.findViewById(AppUtils.getId(itemView.getContext(),"ivGameCouponStatusBg"));
        tvGameCouponPrice = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponPrice"));
        tvGameCouponPriceFull = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponPriceFull"));
        tvGameCouponName = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponName"));
        tvGameCouponDesc = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponDesc"));
        tvGameCouponTime = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponTime"));
        tvGameCouponDraw = itemView.findViewById(AppUtils.getId(itemView.getContext(),"tvGameCouponDraw"));
    }
}
